home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- //
- // Alias|Wavefront Script File
- // MODIFY THIS AT YOUR OWN RISK
- //
- // Creation Date: Jan 2000
- //
- // Description:
- //
- // All optionVars that are used for preferences that appear
- // in the Preferences window MUST be set in this file.
- // Only optionVars used in the preference file should be
- // set in this file. Others should be set in the
- // createGlobalOptVars.mel file.
- //
- // This file is used to restore the preferences back to the
- // state they were in when Maya is first used. (The "Restore
- // Default Settings" menu item.)
- //
- // It is also used to set all of these preferences on startup
- // so you can use these values in any of the init* files
- // without having to check to see if they are set yet.
- //
- // Note: If adding preferences, make sure to read
- // http://w3.tor.aw.sgi.com/maya/TechDoc/CodingGuides/addingPreferences.html
- //
- {
-
- //----------------------------------------------------------
- // Interface Preferences
- //----------------------------------------------------------
-
- optionVar
- -sv mayaMode "Animation";
-
- optionVar
- -iv "mainWindowMenubarVis" true
- -iv "allowMenusInPanels" true
- -iv "mainWindowTitleBarVis" true
- -iv "cmdWindowTitleBarVis" true
- -iv "saveWindowPos" true
- -iv "commandLineHoldFocus" false
- -iv "aeInMainWindow" true
- -iv "toolSettingsInMainWindow" true
- -iv "EEexprEdTextEditor" 1
- -iv "mayaMacButtonMap" 3;
-
- //----------------------------------------------------------
- // UI Elements Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv "statusLineVisible" true
- -iv "isShelfVisible" true
- -iv "timeSliderVisible" true
- -iv "playbackRangeVisible" true
- -iv "commandLineVisible" true
- -iv "helpLineVisible" true
- -iv "isAttributeEditorVisible" false
- -iv "toolSettingsVisible" false
- -iv "channelsLayersVisible" true
- -iv "toolboxVisible" true;
-
- //----------------------------------------------------------
- // Misc UI Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv "helpPopupDisplayTime" 4
- -iv "helpBrowserUseWindow" true
- -iv "helpBrowserRaiseWindow" true
- -iv "helpInMainWindow" false
- -sv "helpLanguage" "en_US"
- -sv "helpUrl" ""
- -sv "remoteHelpUrl" "";
-
- optionVar
- -sv "newScenePanelConfiguration" "Single Perspective View"
- -iv "useNewScenePanelConfig" true
- -iv "useScenePanelConfig" true
- -iv "useSaveScenePanelConfig" true;
-
- //----------------------------------------------------------
- // Display Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv "fastInteraction" false
- -iv "showGrid" true
- -iv "activeObjectPivots" false
- -iv "displayAffected" true
- -iv "displayRegionOfEffect" true
- -iv "wireframeOnShadedActive" 1
- -iv "ghostFramesBefore" 3
- -iv "ghostFramesAfter" 3
- -iv "ghostFrameStep" 1
- -iv "shadeTemplates" false;
-
- //HeadsUpDisplay Toggle Values
-
- optionVar
- -iv "animationDetailsVisibility" false
- -iv "objectDetailsVisibility" false
- -iv "polyCountVisibility" false
- -iv "cameraNamesVisibility" true
- -iv "frameRateVisibility" false
- -iv "viewAxisVisibility" true
- -iv "toggleOriginAxis" false;
-
-
- //----------------------------------------------------------
- // Kin Display Preferences
- //----------------------------------------------------------
-
- optionVar
- -fv "ikHandleDisplayScale" 1.0
- -fv "ikJointDisplayScale" 1.0
- -fv "ikIkFkJointDisplayScale" 0.5
- -sv "ikIkFkDisplayMethod" "ikfk";
-
- //----------------------------------------------------------
- // Manip Display Preferences
- //----------------------------------------------------------
-
- optionVar
- -fv "manipGlobalScale" 1.5
- -fv "manipHandleSize" 35.0
- -fv "manipLinePickSize" 1.0
- -fv "manipLineSize" 1.0
- -fv "manipPreviousStateSize" 6.0;
-
- optionVar
- -iv defaultShowManipulator 6;
-
- //----------------------------------------------------------
- // NURBS Display Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv "newCurveDisplayEP" false
- -iv "newCurveDisplayHull" false
- -iv "newCurveDisplayCV" false
- -iv "newSurfaceDisplayEP" false
- -iv "newSurfaceDisplayHull" false
- -iv "newSurfaceDisplayCV" false
- -iv "newSurfaceDisplayOrigin" false
- -iv "newNurbsIsoparms" 0
- -iv "newNurbsPointsShaded" 4
- -iv "newNurbsPointsWire" 5;
-
- //----------------------------------------------------------
- // Poly Display Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv newPolyVtxDisp false
- -iv newPolyVtxBackCull true
- -iv newPolyVertexNormals false
- -iv newPolyEdgeDisp 0
- -fv newPolyBorderEdgeSize 2.0
- -iv newPolyBorderEdgeHilite false
- -iv newPolyBorderMapHilite false
- -fv newPolyNormalSize 0.4
- -iv newPolyFacetCentreDisp false
- -iv newPolyFacetNormalDisp false
- -iv newPolyFacetTrngleDisp false
- -iv newPolyFacetWarpDisp false
- -iv newPolyNumVertexDisp false
- -iv newPolyNumEdgeDisp false
- -iv newPolyNumFacetDisp false
- -iv newPolyNumUvDisp false
- -iv newPolyColorShaded 0
- -iv newPolyColorChannel 3
- -iv newPolyBackFaceCull 0;
-
- //----------------------------------------------------------
- // General Application Settings Preferences
- //----------------------------------------------------------
-
- optionVar
- -sv upAxisDirection "y"
- -sv workingUnitLinear "cm"
- -sv workingUnitAngular "deg"
- -sv workingUnitTime "film"
- -fv positionalTolerance 0.01
- -fv tangentialTolerance 0.10;
-
- //----------------------------------------------------------
- // Animation Preferences
- //----------------------------------------------------------
-
- optionVar
- -fv "playbackMin" 1.0
- -fv "playbackMax" 24.0
- -fv "playbackMinRange" 1.0
- -fv "playbackMaxRange" 48.0
- -iv "timeSliderHeight" 28
- -sv "timeSliderShowKeys" "active"
- -iv "timeSliderTimeCode" false
- -sv "timeSliderTimeCodeOffset" "00:00:00:00"
- -iv "timeSliderSnapping" true
- -sv "timeSliderPlayView" "active"
- -sv "timeSliderPlayLoop" "continuous"
- -fv "timeSliderPlaySpeed" 0.0
- -fv "timeSliderPlayBy" 1.0;
-
- //----------------------------------------------------------
- // Dynamics Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv dynPrefAutoCreate true
- -iv dynPrefRunupToCurrentTime false
- -iv dynPrefRunupFrom 1
- -iv dynPrefSaveRuntimeState true;
-
- //----------------------------------------------------------
- // Keys Preferences
- //----------------------------------------------------------
-
- // Bug 179987
- // Set the default inTangentType and outTangentType to "clamped"
- // instead of "spline"
- optionVar
- -iv "autoKeyframeState" false
- -iv "rotationInterpolationDefault" 1
- -sv "autoKeyCharacterState" "standard"
- -iv "weightedTangents" false
- -sv "inTangentType" "clamped"
- -sv "outTangentType" "clamped";
-
- //----------------------------------------------------------
- // Modeling Preferences
- //----------------------------------------------------------
-
- modelWithType (0);
- modelWithToolsAll (0);
-
- //----------------------------------------------------------
- // Selection Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv selectSingleMarquee false
- -iv selectClickDrag false
- -iv selectAffectsActive true
- -iv ignoreSelectionPriority false
- -iv popupMenuSelection false
- -iv expandPopupList false
- -iv clickBoxSize 4
- -sv selectPrefPriorityMode "animation";
-
- optionVar
- -iv "polyFaceSensitive" false;
-
- optionVar -ca customSelectPriority;
- optionVar
- -iva customSelectPriority 10 // handle
- -iva customSelectPriority 10 // ikHandle
- -iva customSelectPriority 2 // ikEndEffector
- -iva customSelectPriority 9 // joint
- -iva customSelectPriority 2 // light
- -iva customSelectPriority 2 // camera
- -iva customSelectPriority 2 // lattice
- -iva customSelectPriority 2 // cluster
- -iva customSelectPriority 2 // sculpt
- -iva customSelectPriority 4 // nurbsCurve
- -iva customSelectPriority 3 // curveOnSurface
- -iva customSelectPriority 2 // nurbsSurface
- -iva customSelectPriority 2 // polymesh
- -iva customSelectPriority 2 // plane
- -iva customSelectPriority 2 // particleShape
- -iva customSelectPriority 2 // emitter
- -iva customSelectPriority 2 // field
- -iva customSelectPriority 2 // spring
- -iva customSelectPriority 2 // rigidBody
- -iva customSelectPriority 2 // rigidConstraint
- -iva customSelectPriority 2 // collisionModel
- -iva customSelectPriority 2 // locator
- -iva customSelectPriority 2 // dimension
- -iva customSelectPriority 2 // implicitGeometry
- -iva customSelectPriority 2 // texture
- -iva customSelectPriority 2 // controlVertex
- -iva customSelectPriority 2 // editPoint
- -iva customSelectPriority 2 // hull
- -iva customSelectPriority 2 // polymeshVertex
- -iva customSelectPriority 2 // polymeshEdge
- -iva customSelectPriority 2 // polymeshFace
- -iva customSelectPriority 2 // polymeshUV
- -iva customSelectPriority 2 // polymeshVtxFace
- -iva customSelectPriority 2 // curveParameterPoint
- -iva customSelectPriority 2 // surfaceParameterPoint
- -iva customSelectPriority 2 // surfaceEdge
- -iva customSelectPriority 2 // isoparm
- -iva customSelectPriority 2 // latticePoint
- -iva customSelectPriority 2 // particle
- -iva customSelectPriority 2 // spring
- -iva customSelectPriority 2 // jointPivot
- -iva customSelectPriority 2 // scalePivot
- -iva customSelectPriority 2 // rotatePivot
- -iva customSelectPriority 2 // selectHandle
- -iva customSelectPriority 2 // localRotationAxis
- -iva customSelectPriority 2 // imagePlane
- -iva customSelectPriority 8 // animCurve
- -iva customSelectPriority 10 // animKeyframe
- -iva customSelectPriority 10 // animBreakdown
- -iva customSelectPriority 9 // animInTangent
- -iva customSelectPriority 9 // animOutTangent
- -iva customSelectPriority 2 // "subdiv"
- -iva customSelectPriority 2 // "subdivMeshPoint"
- -iva customSelectPriority 2 // "subdivMeshEdge"
- -iva customSelectPriority 2 // "subdivMeshFace"
- -iva customSelectPriority 2 // surfaceFace
- ;
-
- //----------------------------------------------------------
- // Snapping Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv useSnapTolerance false
- -iv snapTolerance 20
- -iv snapUVTolerance 25
- -iv snapMagnet 0
- -fv snapMagnetTolerance 0.1;
-
- //----------------------------------------------------------
- // Sound Preferences
- //----------------------------------------------------------
-
- optionVar
- -sv "timeSliderSoundDisplay" "both"
- -iv "timeSliderRepeatOnHold" false
- -fv "timeSliderRepeatChunk" 1.0;
-
- //----------------------------------------------------------
- // Advanced Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv "undoIsEnabled" true
- -iv "undoIsInfinite" false
- -iv "undoLength" 50;
-
- //----------------------------------------------------------
- // Rendering Preferences
- //----------------------------------------------------------
-
- optionVar
- -sv "preferredRenderer" "mayaSoftware";
-
- //----------------------------------------------------------
- // File I/O Preferences
- //----------------------------------------------------------
-
- optionVar
- -sv "fileCompressionMode" "asCompressed";
- optionVar
- -iv "displayLayerMerge" 0
- -iv "RecentFilesMaxSize" 4
- -iv "RecentBackupsMaxSize" 4
- -iv "RecentProjectsMaxSize" 4;
-
- //----------------------------------------------------------
- // Modules Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv "loadDynamics" true
- -iv "loadUrchin" true;
-
- //----------------------------------------------------------
- // OpenMaya Preferences
- //----------------------------------------------------------
-
- optionVar
- -iv "apiPrefLazyLoading" false
- -iv "apiPrefOldPluginWarning" true;
-
- }
-